package com.yh.service.impl;

import java.util.List;
import java.util.Map;

import com.yh.bean.CarApply;
import com.yh.bean.CarManage;
import com.yh.bean.Meetingmanage;

public interface CarService {
		
	//新增车辆
	public int addcar(CarManage cm);
	
	//查询车辆
	public List<CarManage> querycar();

	//查看车辆状态
	public Map checkcar(CarApply ca);
	
	//修改车辆
	public int updatecar(CarManage cm);
	
	//删除车辆
	public int delcar(int cm_id);
	
	//申请车辆
	public int carapply(CarApply ca);
	
	//删除申请用车
	public int delcarapply(int ca_id);

	//查询车辆申请状态
	public List<CarApply> querycarapply(CarApply ca);
	
	//审批车辆
	public int updatecarapply(CarApply ca);
	
}
